package com.zc.trendsDispatch.mapper;

import java.util.List;
import com.zc.trendsDispatch.domain.ChargeStationStrategyAssociation;

/**
 * 场站调度关联Mapper接口
 *
 * @author glb
 * @date 2024-02-03
 */
public interface ChargeStationStrategyAssociationMapper
{
    /**
     * 查询场站调度关联
     *
     * @param id 场站调度关联主键
     * @return 场站调度关联
     */
    public ChargeStationStrategyAssociation selectChargeStationStrategyAssociationById(Long id);

    /**
     * 查询场站调度关联列表
     *
     * @param chargeStationStrategyAssociation 场站调度关联
     * @return 场站调度关联集合
     */
    List<ChargeStationStrategyAssociation> selectChargeStationStrategyAssociationList(ChargeStationStrategyAssociation chargeStationStrategyAssociation);

    /**
     * 新增场站调度关联
     *
     * @param chargeStationStrategyAssociation 场站调度关联
     * @return 结果
     */
    int insertChargeStationStrategyAssociation(ChargeStationStrategyAssociation chargeStationStrategyAssociation);

    /**
     * 修改场站调度关联
     *
     * @param chargeStationStrategyAssociation 场站调度关联
     * @return 结果
     */
    int updateChargeStationStrategyAssociation(ChargeStationStrategyAssociation chargeStationStrategyAssociation);

    /**
     * 删除场站调度关联
     *
     * @param id 场站调度关联主键
     * @return 结果
     */
    int deleteChargeStationStrategyAssociationById(Long id);

    /**
     * 删除场站调度关联
     *
     * @param stationId 场站id
     * @return 结果
     */
    int deleteChargeStationStrategyAssociationByStationCode(String stationId);

    /**
     * 批量删除场站调度关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteChargeStationStrategyAssociationByIds(Long[] ids);
}
